package com.educate.ucenter.rpc.provide.entry;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class WxUserInfo {
    /**
     * openId : oU0bu0Enud2si7mZaPZkq6M9QvVU
     * nickName : 凯利
     * gender : 2
     * language : zh_CN
     * city : Shenzhen
     * province : Guangdong
     * country : China
     * avatarUrl : https://wx.qlogo.cn/mmopen/vi_32/ghhIicdZynpWwic784x8yxym1Pf07E18icYheJ1WaF1szib1lquiafDowiam2xOicMVJDy4qMicpJqC1k3lbhJZJhbKiafQ/0
     * watermark : {"timestamp":1524553508,"appid":"wxe529855e9e611e85"}
     */

    private String openId;
    private String nickName;
    private int gender;
    private String language;
    private String city;
    private String province;
    private String country;
    private String avatarUrl;
    private WatermarkBean watermark;

    @NoArgsConstructor
    @Data
    public static class WatermarkBean {
        /**
         * timestamp : 1524553508
         * appid : wxe529855e9e611e85
         */

        private int timestamp;
        private String appid;
    }
}
